<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="taglibs.jsp"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
	<title>气度网 - 气度如水</title>
    <link type="text/css" rel="stylesheet" href="${ctx}/css/my_qeado.css" >
    <script src="${ctx}/js/jquery-1.5.2.min.js" type="text/javascript"></script>
	<script src="${ctx}/js/my_qeado.js" type="text/javascript" ></script>
</head>

<body>
<div class="container">
	<!-- 头部 -->
	<%@ include file="header.jsp"%>
    <div id="banner">
    	<div id="logo">
    		<a href="${ctx}/index"><img src="${ctx}/image/index/mine.gif" border="0" alt=" 气度网 - 气度如水 "  ></a>
    	</div>
        <!-- 搜索栏 -->
        <div id="search_bar">
        		<input type="text" value="请输入关键字" id="search_key" name="search_key" class="search" />
            	<select class="search" id="search_category" name="category">
					<option value="all">所有</option>
					<s:iterator value="#session.indexMainMenu" var="tempSort">
        			<option value="<s:property value="#tempSort.typeCode"/>"><s:property value="#tempSort.typeName"/></option>
        			</s:iterator>  
           		</select>
                <button class="search_btn">搜索</button>
        </div>
   	</div>
   	<div class="clear"></div>
    <div class="divide">
    	<div class="index_menu">
        	<div class="menu_btn" onClick="changeMenu('saler',this,'产品管理')" id="school_btn">产品管理</div>
            <div class="menu_btn" onClick="changeMenu('company_manager',this,'企业管理')">企业管理</div>
            <div class="menu_btn" onClick="changeMenu('school_maneger',this,'校园管理')">校园管理</div>
            <div class="menu_btn" onClick="changeMenu('self_manager',this,'个人设置')">个人设置</div>
            <div class="menu_btn">留言板</div>
        </div>
        <div class="clear" ></div>
    </div>
    <div class="clear"></div>
    
    <!-- 主要内容 -->
    <div class="body">
    	<!-- 左边 菜单 -->
		<div class="part_1">
			<div class="self_info">
            	<div class="self_img">
                	<img src="${ctx}/image/upload/self_pic.gif" width="200" height="200">
                </div>
                <div class="self_name">用户ID <font color="red"><s:property value="#session.login_user.userName"/></font></div>
            </div>
            <div class="self_menu">
            	<div class="menu_title"><span id="menu_title_name">我要出售</span></div>
            	<div id="saler" class="all_menu">
                    <li><a href="${ctx}/my/public_page?urlMark=1" target="part2_iframe"><div class="menu_list">发布产品信息</div></a></li>
                    <li><a href="${ctx}/my/listByUser?pageSize=10&orderBy=create_date&asc=desc&queryType=1" target="part2_iframe"><div class="menu_list">出售产品管理</div></a></li>
                	<li><a href="${ctx}/my/listByUser?pageSize=10&orderBy=create_date&asc=desc&queryType=2" target="part2_iframe"><div class="menu_list">采购产品管理</div></a></li>
                </div>
                <div id="company_manager" class="all_menu">
                    <li><a href="${ctx}/my/company_manage" target="part2_iframe"><div class="menu_list">企业资料管理</div></a></li>
                    <li><a href="${ctx}/my/publicInfoPage" target="part2_iframe"><div class="menu_list">发布企业资讯</div></a></li> 
                    <li><a href="${ctx}/my/listInfo?pageSize=10&orderBy=create_date&asc=desc" target="part2_iframe"><div class="menu_list">企业信息管理</div></a></li>
                    <li><a href="#" target="part2_iframe"><div class="menu_list">企业主页</div></a></li> 
                </div>
                <div id="school_maneger" class="all_menu">
                    <li><a href="${ctx}/my/colleage_manage" target="part2_iframe"><div class="menu_list">学校资料管理</div></a></li>
                    <li><a href="${ctx}/my/colleage_manage!publicInfoPage" target="part2_iframe"><div class="menu_list">发布校园资讯</div></a></li> 
                    <li><a href="${ctx}/my/colleage_manage!listInfo?pageSize=10&orderBy=create_date&asc=desc&" target="part2_iframe"><div class="menu_list">校园信息管理</div></a></li>
                    <li><a href="#" target="part2_iframe"><div class="menu_list">校园主页</div></a></li>  
                </div>
                <div id="self_manager" class="all_menu">
                    <li><a href="${ctx}/my/userInfo_manage" target="part2_iframe"><div class="menu_list">用户信息管理</div></a></li>
                    <li><a href="${ctx}/my/security_manage" target="part2_iframe"><div class="menu_list">账户安全设置</div></a></li>  
                </div>
            </div>
            <div class="ad">
            	<a href="#"><img src="#"></a>
            </div>
        </div>
        <!-- 右边 显示内容 -->
        <div class="part_2">
        	<div class="part2_title">
            	<div class="menu_path">欢迎进入Qeado个人管理</div>
                <div class="user_name"><s:property value="#session.login_user.userName"/>,您好</div>
            </div>
            <div>
            	<iframe id="part2_iframe" name="part2_iframe" onload="Javascript:SetCwinHeight()"></iframe>
            </div>
		</div>
    </div>

	<!-- 尾部 -->
    <div id="footer">
    	<!-- 一些链接 -->
		<div id="friendly_link">
        	<li class="friendly_link"></li>
            <li class="friendly_link"></li>
        </div>
        <div class="clear"></div>
        <!-- 一些链接 -->
        <div id="web_info">
        		<a class="friendly_link" href="#">气度网简介</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">营业执照</a>&nbsp;|&nbsp; 
            	<a class="friendly_link" href="#">注册协议</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">法律声明</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">联系我们</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">便民服务</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">友情链接</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">使用帮助</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">广告服务</a>&nbsp;|&nbsp;
            	<a class="friendly_link" href="#">给我们留言</a>&nbsp;|&nbsp;
                <a class="friendly_link" href="#">导航地图</a>
        </div>
    	<hr />
        <!-- 一些证件和信息 -->
        <div class="copyright">Email : allenlinrui@gmail.com  |  Tel : 18915583294 / 0571-89898989  |  QQ : 67780691</div>
        <div class="copyright">Copyright © 2010-2011 中国科大软件学院软设专业Fine团队 版权所有</div>
        <div class="copyright"><img src="${ctx}/image/index/logo.gif" width="80px"> 苏ICP证：0000000号</div>    
    </div>
</div>
</body>
</html>
